<?php
/**
 * Created by PhpStorm.
 * User: wangkk
 * Date: 2019-03-21 9:46
 * Description: {预览卡券货架信息}
 */

use yii\helpers\Html;
use yii\widgets\DetailView;

/* @var $this yii\web\View */
/* @var $model app\models\CouponForm */

$this->title = '卡券货架详情';

$this->params['breadcrumbs'][] = $this->title;
\yii\web\YiiAsset::register($this);
?>
<div class="pframe-styles-view">
    <h1><?= Html::encode($this->title) ?></h1>

    <?= DetailView::widget([
        'model' => $model,
        'attributes' => [
            'id',
            'cardpage_name',
            'page_id',
            'page_url',
        ],
        'template' => '<tr><th style="width: 120px;">{label}</th><td style="max-width: 200px;word-wrap:break-word;word-break:break-all;">{value}</td></tr>',
        'options' => ['class' => 'table table-striped table-bordered detail-view'],
    ]) ?>

</div>
